package com.sy.pet.commom.enmu;

/**
 * @Author: liangSY
 * @Date: 2024/9/14
 * @ClassName: ResponseCode
 * @Description: ResponseCode描述
 */
public enum ResponseCode {

    DATA_DUPLICATION(1001,"数据重复"),
    DATA_NOT_FOUND(1002,"数据不存在");
    private Integer code;
    private String message;

    ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public Integer getCode() {
        return code;
    }
}
